package com.bazhua.bazo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bazhua.bazo.repository.entity.CheckUser;
import com.bazhua.bazo.repository.entity.CouponCheckRecord;
import com.bazhua.bazo.repository.model.result.CommonResult;
import com.bazhua.bazo.repository.model.result.PageListResult;

/**
 * @Author: starmile
 * @Description:
 * @Create: 2021-03-02 0:30
 **/
public interface ICheckUserService extends IService<CheckUser> {

    void registerCheckUser(Long userId, Long shopId);

    PageListResult getPage(Integer pageNum, Integer pageSize, Long userId);

    CommonResult deleteCheckUser(Long id);

    CommonResult registerCheckUser(String openId, Long shopId);

    CheckUser getCheckUserByUserId(Long userId);
}
